home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 September / Macworld (1998-09).dmg / Shareware World / Info / For Developers / MacZoop 1.8.3 / More Classes / Threads / ZThreadedApplication.h < prev   
Text File  |  1997-08-22  |  720b  |  42 lines

  1. /*************************************************************************************************
  2. *
  3. *
  4. *            ObjectMacZapp        -- a standard Mac OOP application template
  5. *
  6. *
  7. *
  8. *            ZThreadedApplication.h            -- the threaded application object
  9. *
  10. *
  11. *
  12. *
  13. *
  14. *            © 1996, Graham Cox
  15. *
  16. *
  17. *
  18. *
  19. *************************************************************************************************/
  20.  
  21.  
  22. #pragma once
  23.  
  24. #ifndef __ZTHREADEDAPPLICATION__
  25. #define    __ZTHREADEDAPPLICATION__
  26.  
  27. #ifndef __ZAPPLICATION__
  28. #include    "ZApplication.h"
  29. #endif
  30.  
  31. class    ZThreadedApplication : public ZApplication
  32. {
  33. public:
  34.  
  35.     virtual void    InitMacZoop( const short numMasterBlocks = 8 );
  36.     virtual void    Process1Event();
  37. };
  38.  
  39.  
  40. extern Boolean        gMacHasThreadManager;
  41.  
  42. #endif